﻿// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "Components/Button.h"
#include "Components/TextBlock.h"
#include "GameOverWidget.generated.h"

/**
 * 
 */
UCLASS()
class COMBAT_GAME_CPP_API UGameOverWidget : public UUserWidget
{
	GENERATED_BODY()

public:
	virtual bool Initialize() override;

	UPROPERTY(meta=(BindWidget))
	UTextBlock* GameOverDesText;

	UPROPERTY(meta=(BindWidget))
	UButton* RestartBtn;

	UPROPERTY(meta=(BindWidget))
	UButton* BackBtn;

	UFUNCTION(BlueprintCallable)
	void RestartBtnFunc();

	UFUNCTION(BlueprintCallable)
	void BackBtnFunc();
};